package com.zi.experttalk.experttalk.View;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import com.zi.experttalk.experttalk.R;

/**
 * Created by lenovo on 2014/12/10.
 */
public class RegisterActivity extends Activity {
    private Button register_back_Button;
    private EditText register_userEmail_EditText;
    private EditText register_username_EditText;
    private EditText register_userPassWord_EditText;
    private EditText register_userPassWord2_EditText;
    private EditText register_userTell_EditText;
    private RadioButton register_sex_RadioButton;
    private RadioButton register_sex2_RadioButton;
    private Button register_register_Button;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.register );
        register_back_Button = (Button) findViewById(R.id.register_back_Button);
        register_userEmail_EditText = (EditText) findViewById(R.id.register_userEmail_EditText);
        register_username_EditText = (EditText) findViewById(R.id.register_username_EditText);
        register_userPassWord_EditText = (EditText) findViewById(R.id.register_userPassWord_EditText);
        register_userPassWord2_EditText = (EditText) findViewById(R.id.register_userPassWord2_EditText);
        register_userTell_EditText = (EditText) findViewById(R.id.register_userTell_EditText);
        register_sex_RadioButton = (RadioButton) findViewById(R.id.register_sex_RadioButton);
        register_sex2_RadioButton = (RadioButton) findViewById(R.id.register_sex2_RadioButton);
        register_register_Button = (Button) findViewById(R.id.register_register_Button);
        register_back_Button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
//                Intent intent = new Intent(RegisterActivity.this,HomeActivity.class);
//                intent.putExtra("back","3");
//                startActivity(intent);
                finish();
            }
        });
    }
}
